package com.netease.framework.b;

import com.netease.g.b;

public abstract class e
  implements Comparable, Runnable
{
  private static final boolean a = true;
  static int x = 0;
  private int b;
  int b_;
  private boolean c;
  c c_;
  d d_;
  int u;
  boolean v;
  int w;
  long y = System.currentTimeMillis();

  protected e(int paramInt)
  {
    this.b_ = paramInt;
    this.b = a();
    this.u = 1;
    this.v = true;
  }

  /** @deprecated */
  private static int a()
  {
    monitorenter;
    try
    {
      if (x >= 32767)
        x = 0;
      int i = 1 + x;
      x = i;
      monitorexit;
      return i;
    }
    finally
    {
      localObject = finally;
      monitorexit;
    }
    throw localObject;
  }

  public int a(e parame)
  {
    int i = -1;
    int j = 0xFF & this.u;
    int k = 0xFF & parame.u;
    if (j > k);
    while (true)
    {
      return i;
      if (j < k)
      {
        i = 1;
        continue;
      }
      if (this.y < parame.y)
        continue;
      if (this.y > parame.y)
      {
        i = 1;
        continue;
      }
      i = 0;
    }
  }

  public void a(int paramInt, Exception paramException)
  {
  }

  public void a(c paramc)
  {
    this.c_ = paramc;
  }

  public void a(d paramd)
  {
    this.d_ = paramd;
  }

  public void a(boolean paramBoolean)
  {
    this.v = paramBoolean;
  }

  public void b(int paramInt)
  {
    this.u = paramInt;
  }

  public abstract void c();

  public void c(int paramInt)
  {
    this.w = paramInt;
  }

  public void c(int paramInt, Object paramObject)
  {
    if (this.d_ != null)
      this.d_.a(paramInt, this.b_, this.b, paramObject);
  }

  public void d(int paramInt, Object paramObject)
  {
    if (this.d_ != null)
    {
      b.d("notify err", "t-" + this.b_ + "c-" + paramInt);
      this.d_.b(paramInt, this.b_, this.b, paramObject);
    }
  }

  public void e()
  {
    this.c = true;
  }

  protected void e(int paramInt1, int paramInt2, int paramInt3, Object paramObject)
  {
    if (this.d_ != null)
      this.d_.a(paramInt1, paramInt2, paramInt3, paramObject);
  }

  protected void f(int paramInt1, int paramInt2, int paramInt3, Object paramObject)
  {
    if (this.d_ != null)
    {
      b.d("notify err", "t-" + this.b_ + "c-" + paramInt1);
      this.d_.b(paramInt1, paramInt2, paramInt3, paramObject);
    }
  }

  public c g()
  {
    return this.c_;
  }

  public void h()
  {
    if (this.c_ != null)
      this.c_.b(this);
  }

  public d i()
  {
    return this.d_;
  }

  public int j()
  {
    return this.u;
  }

  public boolean k()
  {
    return this.v;
  }

  public int l()
  {
    return this.w;
  }

  public int m()
  {
    return this.b;
  }

  public int n()
  {
    return this.b_;
  }

  public boolean o()
  {
    return this.c;
  }

  public void run()
  {
    try
    {
      if (!o())
        c();
      this.c_.b(this);
      return;
    }
    catch (Exception localException)
    {
      while (true)
      {
        localException.printStackTrace();
        e();
        a(10007, localException);
      }
    }
  }
}

/* Location:           D:\android\hack\dex2jar-0.0.9.8\classes_dex2jar.jar
 * Qualified Name:     com.netease.framework.b.e
 * JD-Core Version:    0.6.0
 */